package com.whmall.service.crm.module.companyuser.dao;

import com.whmall.service.crm.module.companyuser.entity.CompanyUserPlatformDO;
import com.whmall.service.crm.module.companyuser.entity.qo.CompanyUserPlatformQO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CompanyUserPlatformMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CompanyUserPlatformDO record);

    int insertSelective(CompanyUserPlatformDO record);

    CompanyUserPlatformDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CompanyUserPlatformDO record);

    int updateByPrimaryKey(CompanyUserPlatformDO record);

    List<CompanyUserPlatformDO> listValid(List<Long> userIds, Integer thirdPlatformType);

    List<CompanyUserPlatformDO> listBy(CompanyUserPlatformQO qo);

}
